//
//  CHMenuView.h
//  CarFile
//
//  Created by 陈浩 on 2017/4/12.
//  Copyright © 2017年 陈浩. All rights reserved.
//

#import <UIKit/UIKit.h>

@class CHMenuView;

@protocol CHMenuViewDelegate <NSObject>

-(void)CHMenuView:(CHMenuView *)menuView didBtnClickWithTag:(NSInteger)tag;


@end
@interface CHMenuView : UIView

@property (nonatomic ,strong) UIColor *bgColor;
@property (nonatomic ,assign) BOOL isUnderline;


@property (nonatomic ,strong)id <CHMenuViewDelegate> delegate;

-(void)titleBtnClick:(UIButton *)btn;



-(instancetype)initWithFrame:(CGRect)frame withTitles:(NSArray *)titles;

@end
